/* ======================================
   STRANGENT - CSS STYLESHEET
   Legal-Tech Minimalism with Sophisticated Motion
   ====================================== */

:root {
    /* Typography */
    --font-display: 'EB Garamond', serif;
    --font-body: 'Outfit', sans-serif;

    /* Color Palette */
    --color-primary: #1a1f2e;      /* Deep slate */
    --color-secondary: #d4af37;    /* Gold accent */
    --color-accent: #2e5f8a;       /* Professional blue */
    --color-light: #f8f9fa;        /* Off-white */
    --color-border: #e8eaed;       /* Light border */
    --color-text: #2c3e50;         /* Dark text */
    --color-text-light: #666;      /* Medium text */
    --color-success: #27ae60;
    --color-error: #e74c3c;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ======================================
   RESET & BASE STYLES
   ====================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ======================================
   TYPOGRAPHY
   ====================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.3;
    font-weight: 700;
    color: var(--color-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -0.5px;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    letter-spacing: -0.3px;
    margin-bottom: var(--space-md);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
    font-size: 1.05rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-accent);
}

ul, ol {
    margin-left: var(--space-md);
    margin-bottom: var(--space-md);
}

ul li, ol li {
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
}

strong {
    font-weight: 600;
    color: var(--color-primary);
}

/* ======================================
   NAVBAR
   ====================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-secondary);
    color: var(--color-primary) !important;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-primary) !important;
}

.nav-cta::after {
    display: none;
}

/* ======================================
   BUTTONS & CTA
   ====================================== */

.cta-primary {
    display: inline-block;
    background: var(--color-secondary);
    color: var(--color-primary) !important;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--color-secondary);
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transition: left var(--transition-base);
    z-index: -1;
}

.cta-primary:hover {
    color: var(--color-secondary) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-primary:hover::before {
    left: 0;
}

.cta-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-primary) !important;
    padding: 0.875rem 2rem;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.cta-secondary:hover {
    background: var(--color-primary);
    color: white !important;
    transform: translateY(-2px);
}

.cta-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

/* ======================================
   HERO SECTION
   ====================================== */

.hero {
    position: relative;
    padding: var(--space-2xl) var(--space-md);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f1f3 100%);
}

.diagonal-accent {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(20px) rotate(10deg); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

.accent-text {
    display: block;
    color: var(--color-secondary);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.visual-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.card-1 {
    width: 280px;
    height: 200px;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #d4af37 0%, rgba(212, 175, 55, 0.1) 100%);
    animation: floating1 3s ease-in-out infinite;
}

.card-2 {
    width: 320px;
    height: 180px;
    top: 100px;
    right: 0;
    background: linear-gradient(135deg, #2e5f8a 0%, rgba(46, 95, 138, 0.1) 100%);
    animation: floating2 4s ease-in-out infinite;
}

.card-3 {
    width: 260px;
    height: 160px;
    bottom: 0;
    left: 40px;
    background: linear-gradient(135deg, #1a1f2e 0%, rgba(26, 31, 46, 0.1) 100%);
    animation: floating3 3.5s ease-in-out infinite;
}

@keyframes floating1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes floating2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

@keyframes floating3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ======================================
   FEATURES SECTION
   ====================================== */

.features {
    padding: var(--space-2xl) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: white;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

.feature-card h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--color-text-light);
    margin: 0;
}

/* ======================================
   TRUST SECTION
   ====================================== */

.trust {
    padding: var(--space-2xl) var(--space-md);
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    margin: var(--space-2xl) 0;
}

.trust-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.trust-text h2 {
    color: var(--color-primary);
}

.trust-list {
    list-style: none;
    margin: 0;
}

.trust-list li {
    padding: var(--space-sm) 0;
    color: var(--color-text);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.trust-list li::before {
    content: '✓';
    color: var(--color-success);
    font-weight: bold;
    font-size: 1.3rem;
}

.trust-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.trust-badge {
    font-size: 8rem;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.2));
    animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ======================================
   CTA SECTION
   ====================================== */

.cta-section {
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2c3e50 100%);
    color: white;
    margin: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.cta-section .cta-primary {
    background: var(--color-secondary);
    color: var(--color-primary) !important;
    position: relative;
    z-index: 1;
}

/* ======================================
   COMING SOON SECTION
   ====================================== */

.coming-soon-section {
    padding: var(--space-2xl) var(--space-md);
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    margin: var(--space-2xl) 0;
}

.coming-soon-content {
    max-width: 900px;
    margin: 0 auto;
}

.coming-soon-content h2 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.coming-soon-content p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.coming-soon-box {
    display: inline-block;
    padding: var(--space-lg) var(--space-2xl);
    border: 2px solid var(--color-secondary);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
}

.coming-soon-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.coming-soon-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0;
    letter-spacing: -0.5px;
}

.coming-soon-badge {
    display: inline-block;
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    margin-right: var(--space-md);
}

/* ======================================
   FOOTER
   ====================================== */

footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-2xl) var(--space-md) var(--space-lg);
    margin-top: var(--space-2xl);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-section h4 {
    color: white;
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.footer-section p {
    font-size: 0.95rem;
    margin: 0 0 var(--space-sm) 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul {
    list-style: none;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

.footer-section a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ======================================
   ABOUT PAGE
   ====================================== */

.about-hero {
    position: relative;
    padding: var(--space-2xl) var(--space-md);
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light);
    position: relative;
    z-index: 1;
}

.about-section {
    padding: var(--space-2xl) var(--space-md);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-section.alternate .section-content {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.about-section.alternate .section-text {
    direction: ltr;
}

.section-text h2 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.section-text p {
    margin-bottom: var(--space-md);
}

.about-list {
    list-style: none;
    margin: 0 0 var(--space-md) 0;
}

.about-list li {
    padding: var(--space-sm) 0;
    color: var(--color-text-light);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.about-list li strong {
    color: var(--color-primary);
    min-width: 100px;
}

.accent-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(46, 95, 138, 0.1) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.accent-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.accent-box-2::before {
    background: radial-gradient(circle, rgba(46, 95, 138, 0.2) 0%, transparent 70%);
}

.accent-box-3::before {
    background: radial-gradient(circle, rgba(26, 31, 46, 0.2) 0%, transparent 70%);
}

.visual-number {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-secondary);
    opacity: 0.1;
    position: relative;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.why-item {
    padding: var(--space-lg);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-smooth);
}

.why-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-secondary);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.why-item h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.why-item p {
    color: var(--color-text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* ======================================
   LEGAL PAGES
   ====================================== */

.legal-hero {
    padding: var(--space-2xl) var(--space-md);
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    text-align: center;
}

.legal-hero h1 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.legal-meta {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-md);
}

.legal-text h2 {
    color: var(--color-primary);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    color: var(--color-text-light);
    line-height: 1.8;
}

.legal-text ul {
    margin-left: var(--space-lg);
}

.legal-text ul li {
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .nav-links {
        gap: var(--space-md);
    }


    .section-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-section.alternate .section-content {
        direction: ltr;
    }

    .trust-content {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 2rem;
        --space-xl: 3rem;
        --space-2xl: 4rem;
    }

    .hero {
        padding: var(--space-lg) var(--space-sm);
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: var(--space-sm);
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: var(--space-md);
    }
}
