/* ============================================
   CSS Reset & Base Styles
   ============================================ */

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

:root {
    /* Primary Colors */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;

    /* Secondary Colors */
    --secondary-color: #0f172a;
    --secondary-light: #1e293b;

    /* Accent Colors */
    --accent-color: #06b6d4;
    --success-color: #10b981;

    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-gray: #f1f5f9;

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

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__logo {
    height: 50px;
    width: auto;
}

.nav__brand-text {
    display: flex;
    flex-direction: column;
}

.nav__company-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary-color);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav__toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--bg-primary) 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__content {
    animation: fadeInUp 1s ease-out;
}

.hero__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease-out;
}

.hero__circle {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn--primary {
    background: var(--primary-color);
    color: white;
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: var(--secondary-color);
    color: white;
}

.btn--secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn--outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   Section Styles
   ============================================ */

.section {
    padding: var(--spacing-xl) 0;
}

.section--gray {
    background: var(--bg-gray);
}

.section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section__badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   About Section
   ============================================ */

.about__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.about__main h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about__main p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about__mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.mission__card {
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.mission__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission__icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mission__card h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.mission__card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.info__card {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.info__card--highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.info__card--highlight h4,
.info__card--highlight p {
    color: white;
}

.info__card h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.info__card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.focus__list {
    list-style: none;
}

.focus__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--text-secondary);
}

.focus__list li:last-child {
    border-bottom: none;
}

.focus__list svg {
    color: var(--success-color);
    flex-shrink: 0;
}

/* ============================================
   Corporate Governance Section
   ============================================ */

.governance__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.governance__card {
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.governance__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.governance__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.governance__card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.governance__card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.governance__documents {
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.governance__documents h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.documents__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.document__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 500;
    transition: all var(--transition-base);
}

.document__link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.document__link svg {
    flex-shrink: 0;
}

/* ============================================
   Investor Relations Section
   ============================================ */

.investors__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.investor__category {
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.investor__category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.investor__category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.investor__category svg {
    color: var(--primary-color);
}

.investor__links {
    list-style: none;
}

.investor__links li {
    margin-bottom: 0.75rem;
}

.investor__links a {
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    display: block;
    padding: 0.5rem 0;
}

.investor__links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* ============================================
   Why DocTrack Section
   ============================================ */

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature__card {
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.feature__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.feature__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature__number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-200);
    margin-bottom: 1rem;
    line-height: 1;
}

.feature__card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature__card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact__card {
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact__card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.contact__icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact__card h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact__card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact__cta {
    display: flex;
    align-items: center;
}

.cta__box {
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    color: white;
    text-align: center;
    width: 100%;
}

.cta__box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta__box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta__box .btn {
    margin: 0.5rem;
}

.cta__box .btn--primary {
    background: white;
    color: var(--primary-color);
}

.cta__box .btn--primary:hover {
    background: var(--gray-100);
}

.cta__box .btn--outline {
    border-color: white;
    color: white;
}

.cta__box .btn--outline:hover {
    background: white;
    color: var(--primary-color);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer__brand h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.5rem;
}

.footer__tagline {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
    font-style: italic;
}

.footer__description {
    line-height: 1.8;
    margin-top: 1rem;
}

.footer__links h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--primary-light);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__links-inline {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer__links-inline span {
    color: var(--gray-600);
}

.footer__links-inline a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer__links-inline a:hover {
    color: var(--primary-light);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.15;
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media screen and (max-width: 968px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__image {
        display: none;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__buttons {
        justify-content: center;
    }

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

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

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

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        box-shadow: var(--shadow-xl);
        padding: 6rem 2rem 2rem;
        transition: right var(--transition-base);
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav__item {
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav__link {
        display: block;
        padding: 1rem 0;
    }

    .nav__toggle {
        display: flex;
    }

    .section__title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .governance__grid,
    .investors__grid,
    .features__grid {
        grid-template-columns: 1fr;
    }

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

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .section__title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav__company-name {
        font-size: 1rem;
    }

    .nav__logo {
        height: 40px;
    }
}
